package com.seckill.redis;

public class OrderKey extends BasePrefix {

    public OrderKey(String prefix) {
        super(prefix);
    }

    public OrderKey(int expireSeconds, String prefix) {
        super(expireSeconds, prefix);
    }

    public static OrderKey getMiaoshaOrderByUidGid = new OrderKey("miaoshaorder");

    public static String getMiaoshaOrderKey(long goodsId,long userId){
        return String.valueOf(goodsId) + userId;
    }

}
